package com.hzf.api.rpc.service.impl;

import com.github.wenhao.geohash.domain.GeoRange;
import com.hzf.api.rpc.api.ApiService;
import com.hzf.config.dao.model.*;
import com.hzf.config.rpc.api.ConfigApiService;
import com.hzf.designer.dao.model.*;
import com.hzf.designer.rpc.api.DesignerApiService;
import com.hzf.material.dao.model.*;
import com.hzf.material.rpc.api.MaterialApiService;
import com.hzf.money.dao.model.MoneyCashFlow;
import com.hzf.money.dao.model.MoneyCashFlowExample;
import com.hzf.money.dao.model.MoneyUser;
import com.hzf.money.dao.model.MoneyUserExample;
import com.hzf.money.rpc.api.MoneyCashFlowApiService;
import com.hzf.order.dao.model.*;
import com.hzf.order.rpc.api.OrderApiService;
import com.hzf.ucenter.dao.model.*;
import com.hzf.ucenter.rpc.api.UcenterApiService;
import com.hzf.workman.dao.model.*;
import com.hzf.workman.rpc.api.WorkmanApiService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 实现ApiService接口
 * Created by shuhzf on 2017/2/19.
 */
@Service
@Transactional
public class ApiServiceImpl implements ApiService {

    private static Logger _log = LoggerFactory.getLogger(ApiServiceImpl.class);
    @Autowired
    private UcenterApiService ucenterApiService;
    @Autowired
    private ConfigApiService configApiService;
    @Autowired
    private MaterialApiService materialApiService;
    @Autowired
    private OrderApiService orderApiService;
    @Autowired
    private MoneyCashFlowApiService moneyCashFlowApiService;
    @Autowired
    private DesignerApiService designerApiService;
    @Autowired
    private WorkmanApiService workmanApiService;
//    @Autowir
//    private UpmsSystemService upmsSystemService;
//
//    @Autowired
//    private UpmsOrganizationService upmsOrganizationService;
//
//    @Autowired
//    private UpmsUserService upmsUserService;
//
//    @Autowired
//    private UpmsRoleService upmsRoleService;
//
//    @Autowired
//    private UpmsPermissionService upmsPermissionService;
//
//    @Autowired
//    private UpmsApiService upmsApiService;
//
//    @Autowired
//    private CmsArticleService cmsArticleService;
//
//    @Autowired
//    private CmsCategoryService cmsCategoryService;
//
//    @Autowired
//    private CmsCommentService cmsCommentService;
//
//    @Autowired
//    private CmsTagService cmsTagService;
//
    @Override
    public String hello(String name) {
        return "hello," + name + "!";
    }

    @Override
    public UcenterUserOauth insertUserOauth(UcenterUserOauth ucenterUserOauth) {
        return ucenterApiService.insertOauth(ucenterUserOauth);
    }

    @Override
    public UcenterUserOauth selectOauth(String openid) {

        return ucenterApiService.slectOauth(openid);
    }

    @Override
    public UcenterUserOauth selectOauthEx(UcenterUserOauthExample example) {
        return ucenterApiService.selectOuthEx(example);
    }

    @Override
    public UcenterUser getUser(UcenterUserExample ucenterUserExample) {
        return ucenterApiService.getUser(ucenterUserExample);
    }

    @Override
    public UcenterUser insertUser(UcenterUser ucenterUser) {
        return ucenterApiService.insertUser(ucenterUser);
    }

    @Override
    public UcenterUser selectUser(int userThirdId) {
        return ucenterApiService.selectUser(userThirdId);
    }

    @Override
    public List<ConfigRegion> selectRegion(ConfigRegionExample configRegionExample) {
        return configApiService.selectByExample(configRegionExample);
    }


    @Override
    public UcenterUserAuth insertUcneterUserAuth(UcenterUserAuth ucenterUserAuth,int typeStatus) {
        return ucenterApiService.insertUserAuth(ucenterUserAuth,typeStatus);
    }

    @Override
    public UcenterAuthBusiness insertUcenterAuthBusiness(UcenterAuthBusiness ucenterAuthBusiness) {
        return ucenterApiService.insertUserAuthBusiness(ucenterAuthBusiness);
    }

    @Override
    public UcenterAuthType insetUcenterAuthType(UcenterAuthType ucenterAuthType) {
        return ucenterApiService.insetUcenterAuthType(ucenterAuthType);
    }

    @Override
    public UcenterAuthInfo insetUcenterAuthInfo(UcenterAuthInfo ucenterAuthInfo) {
        return ucenterApiService.insetUcenterAuthInfo(ucenterAuthInfo);
    }

    @Override
    public List<UcenterUserAuth> selectUcenterUserAuth(UcenterUserAuthExample ucenterUserAuthExample) {
        return ucenterApiService.selectUcenterUserAuth(ucenterUserAuthExample);
    }

    @Override
    public List<MaterialArea> selectByMaterialArea(MaterialAreaExample materiaAreaExample) {
        return materialApiService.selectByExample(materiaAreaExample);
    }

    @Override
    public List<MaterialList> selectByMaterialList(MaterialListExample materialListExample) {
        return materialApiService.selectByExample(materialListExample);
    }

    @Override
    public List<MaterialListType> selectByMaterialListType(MaterialListTypeExample materialListTypeExample) {
        return materialApiService.selectByExample(materialListTypeExample);
    }

    @Override
    public List<MaterialGoodsModelPin> selectByMaterialGoodsModelPin(MaterialGoodsModelPinExample materialGoodsModelPinExample) {
        return materialApiService.selectByExample(materialGoodsModelPinExample);
    }

    @Override
    public List<MaterialGoodsModel> selectByMaterialGoodsModel(MaterialGoodsModelExample materialGoodsModelExample) {
        return materialApiService.selectByExample(materialGoodsModelExample);
    }

    @Override
    public List<MaterialGoodsPic> selectByMaterialGoodsPic(MaterialGoodsPicExample materialGoodsPicExample) {
        return materialApiService.selectByExample(materialGoodsPicExample);
    }

    @Override
    public List<MaterialGoods> selectByMaterialGoods(MaterialGoodsExample materialGoodsExample) {
        return materialApiService.selectByExample(materialGoodsExample);
    }

    @Override
    public List<MaterialGoodsTypeBig> selectByMaterialGoodsTypeBig(MaterialGoodsTypeBigExample materialGoodsTypeBigExample) {
        return materialApiService.selectByExample(materialGoodsTypeBigExample);    }

    @Override
    public List<MaterialGoodsTypeMiddle> selectByMaterialGoodsTypeMiddle(MaterialGoodsTypeMiddleExample materialGoodsTypeMiddleExample) {
        return materialApiService.selectByExample(materialGoodsTypeMiddleExample);    }

    @Override
    public List<MaterialGoodsTypeSmall> selectByMaterialGoodsTypeSmall(MaterialGoodsTypeSmallExample materialGoodsTypeSmallExample) {
        return materialApiService.selectByExample(materialGoodsTypeSmallExample);    }

    @Override
    public List<UcenterAuthInfo> selectUcenterAuthInfo(UcenterAuthInfoExample ucenterAuthInfoExample) {
        return ucenterApiService.selectUcenterAuthInfo(ucenterAuthInfoExample);    }

    @Override
    public int update(UcenterUser ucenterUser) {
        return ucenterApiService.update(ucenterUser);
    }

    @Override
    public ConfigRegion selectAddressRegion(ConfigRegionExample configRegionExample) {

        return configApiService.selectAddressRegion(configRegionExample);
    }

    @Override
    public List<ConfigStyle> selectByConfigStyleExample(ConfigStyleExample example) {
        return configApiService.selectByConfigStyleExample(example);
    }

    @Override
    public ConfigStyle selectConfigStyleRegion(ConfigStyleExample example) {
        return configApiService.selectConfigStyleRegion(example);
    }

    @Override
    public List<ConfigPtanli> selectConfigPtanliExample(ConfigPtanliExample example) {
        return configApiService.selectConfigPtanliExample(example);
    }

    @Override
    public ConfigPtanli selectConfigPtanliRegion(ConfigPtanliExample example) {
        return configApiService.selectConfigPtanliRegion(example);
    }

    @Override
    public MaterialShop selectByShop(MaterialShopExample materialShopExample) {

        return materialApiService.selectByExample(materialShopExample);
    }

    @Override
    public int installShop(MaterialShop materialShop) {
        return materialApiService.installShop(materialShop);
    }

    @Override
    public UcenterAuthInfo selectUserinfo(UcenterAuthInfoExample ucenterAuthInfoExample) {
        List<UcenterAuthInfo> ucenterAuthInfos = ucenterApiService.selectUcenterAuthInfo(ucenterAuthInfoExample);
        if (null != ucenterAuthInfos && ucenterAuthInfos.size() > 0) {
            return ucenterAuthInfos.get(0);
        }
       return null;
    }

    @Override
    public MaterialGoods installGoods(MaterialGoods materialGoods) {
        return materialApiService.installGoods(materialGoods);
    }

    @Override
    public MaterialGoodsModel installGoodsModel(MaterialGoodsModel materialGoodsModel) {
        return materialApiService.installGoodsModel(materialGoodsModel);
    }

    @Override
    public MaterialGoodsModelPin installGoodsPin(MaterialGoodsModelPin materialGoodsModelPin) {
        return materialApiService.installGoodsPin(materialGoodsModelPin);
    }

    @Override
    public List<MaterialGoods> selectGoodsByExampleForOffsetPage(MaterialGoodsExample example, Integer offset, Integer limit) {
        return materialApiService.selectGoodsByExampleForOffsetPage(example,offset,limit);
    }

    @Override
    public long countGoodsByExample(MaterialGoodsExample example) {

        return materialApiService.countGoodsByExample(example);
    }

    @Override
    public MaterialGoods selectByGoods(MaterialGoodsExample example) {

        return materialApiService.selectByGoods(example);
    }

    @Override
    public MaterialGoodsModelPin selectModelPin(MaterialGoodsModelPinExample materialGoodsModelPin) {
        return materialApiService.selectModelPin(materialGoodsModelPin);
    }

    @Override
    public MaterialGoodsTypeMiddle selectMiddle(MaterialGoodsTypeMiddleExample materialGoodsTypeMiddleExample) {
        return materialApiService.selectMiddle(materialGoodsTypeMiddleExample);

    }

    @Override
    public MaterialGoodsTypeSmall selectSmall(MaterialGoodsTypeSmallExample materialGoodsTypeSmallExample) {
        return materialApiService.selectSmall(materialGoodsTypeSmallExample);
    }

    @Override
    public MaterialGoodsTypeBig selectBig(MaterialGoodsTypeBigExample materialGoodsTypeBigExample) {
        return materialApiService.selectBig(materialGoodsTypeBigExample);    }

    @Override
    public int updateGoods(MaterialGoods materialGoods) {
        return materialApiService.updateGoods(materialGoods);    }

    @Override
    public int updateGoodsModel(MaterialGoodsModel materialGoodsModel) {
        return materialApiService.updateGoodsModel(materialGoodsModel);
    }
    public int delectGoods(int id){
        return  materialApiService.delectGoods(id);
    }
    public int delectModels(MaterialGoodsModelExample example){
        return  materialApiService.delectModels(example);
    }

    @Override
    public int updateGoodsModelPin(MaterialGoodsModelPin materialGoodsModelPinExample) {
        return  materialApiService.updateGoodsModelPin(materialGoodsModelPinExample);
    }

    @Override
    public int delectGoodsModelPin(MaterialGoodsModelPinExample materialGoodsModelPinExample) {
        return  materialApiService.delectGoodsModelPin(materialGoodsModelPinExample);
    }


    @Override
    public List<MaterialGoods> selectByPrimaryDistance(int regionNumber, int typeId, int status, long min0, long max0, long min1, long max1, long min2, long max2, long min3, long max3, long min4, long max4, long min5, long max5, long min6, long max6, long min7, long max7, long min8, long max8) {
        return materialApiService.selectByPrimaryDistance(regionNumber,typeId,status, min0,max0,min1,max1,min2,max2,min3,max3,min4,max4,min5,max5,min6,max6,min7,max7,min8,max8);
    }



    @Override
    public List<MaterialGoods> selectByPrimaryCity(MaterialGoodsExample example,int offset,int limit) {
        return  materialApiService.selectByPrimaryCity(example,offset,limit);
    }

    @Override
    public int countByCityExample(MaterialGoodsExample example) {
        return  materialApiService.countByCityExample(example);
    }

    @Override
    public List<OrderCart> selectByGoodsPrimaryKey(OrderCartExample orderCartExample) {
        return orderApiService.selectByGoods(orderCartExample);
    }

    @Override
    public int insertOrderCart(OrderCart ordercart) {
        return orderApiService.insertOrder(ordercart);
    }

    @Override
    public int delectOrderCart(OrderCartExample orderCart) {
        return orderApiService.delectOrder(orderCart);
    }

    @Override
    public List<OrderCart> selectByShopId(OrderCartExample orderCartExample) {
        return orderApiService.selectByShopId(orderCartExample);
    }

    @Override
    public int updateCart(OrderCart orderCart) {
        return orderApiService.updateCart(orderCart);
    }

    @Override
    public OrderUserAddress insertOrderUserAddress(OrderUserAddress orderUserAddress) {
        return orderApiService.insertOrderUserAddress(orderUserAddress);
    }

    @Override
    public List<OrderUserAddress> selectExample(OrderUserAddressExample example) {
        return orderApiService.selectExample(example);
    }

    @Override
    public int updateAddress(OrderUserAddress example) {
        return orderApiService.updateAddress(example);
    }

    @Override
    public OrderUserAddress getUserAddress(int id) {
        return orderApiService.getUserAddress(id);
    }

    @Override
    public int delectAddress(OrderUserAddressExample example) {
        return orderApiService.delectAddress(example);
    }

    @Override
    public UcenterUser selectRegionUser(int id, int state) {
        return ucenterApiService.selectRegionUser(id,state);
    }

    @Override
    public int insertCity(UcenterUserCity ucenterUserCity) {
        return ucenterApiService.insertCity(ucenterUserCity);
    }

    @Override
    public OrderUser inserllOrder(OrderUser orderUser) {
        return  orderApiService.inserllOrder(orderUser);
    }

    @Override
    public OrderUser selectOrder(OrderUserExample orderUserExample) {
        return  orderApiService.selectOrder(orderUserExample);

    }

    @Override
    public int inserllOrderInfo(OrderUserInfo orderUserInfo) {
        return  orderApiService.inserllOrderInfo(orderUserInfo);
    }

    @Override
    public int updateOrder(OrderUser orderUser) {
        return  orderApiService.updateOrder(orderUser);
    }

    @Override
    public int updateOrderInfo(OrderUserInfo orderUserinfo) {
        return  orderApiService.updateOrderInfo(orderUserinfo);
    }

    @Override
    public List<OrderUser> selectOrderList(OrderUserExample example) {
        return orderApiService.selectOrderList(example);
    }

    @Override
    public List<OrderUserInfo> selectOrderInfoList(OrderUserInfoExample example) {
        return orderApiService.selectOrderInfoList(example);
    }

    @Override
    public List<OrderUserInfo> seleclUserOrderInfoList(Integer example) {
        return orderApiService.seleclUserOrderInfoList(example);
    }
    @Override
    public int updataOrderNotity(OrderNotity orderNotity) {
        return orderApiService.updataOrderNotity(orderNotity);
    }
    @Override
    public int installOrderNotity(OrderNotity orderNotity) {
        return orderApiService.installOrderNotity(orderNotity);
    }
    @Override
    public OrderNotity selectOrderNotyti(OrderNotityExample example) {
        return orderApiService.selectOrderNotyti(example);
    }

    @Override
    public List<OrderNotity> selectAllOrderNotity(OrderNotityExample example) {
        return  orderApiService.selectAllOrderNotity(example);
    }

    @Override
    public List<OrderUserInfo> seleclByUserOrderInfoList(Integer example) {
        return  orderApiService.selectByUserBygoods(example);
    }
    @Override
    public List<OrderUserInfo> selectByUserByOrderUser(Integer example) {
        return orderApiService.selectByUserByOrderUser(example);
    }
    public int instalkOrderCash(MoneyCashFlow moneyCashFlow){
        return  moneyCashFlowApiService.instalkOrderCash(moneyCashFlow);
    }
    public List<MoneyCashFlow> selectAllOrderCash(MoneyCashFlowExample moneyCashFlowExample){
        return moneyCashFlowApiService.selectAllOrderCash(moneyCashFlowExample);
    }
    public MoneyCashFlow getMoneyCashFlow(MoneyCashFlowExample moneyCashFlowExample){
        return moneyCashFlowApiService.getMoneyCashFlow(moneyCashFlowExample);

    }
    public int updateOrderCash(MoneyCashFlow moneyCashFlow){
        return moneyCashFlowApiService.updateOrderCash(moneyCashFlow);
    }
    public int delectOrderCash(MoneyCashFlowExample moneyCashFlowExample){
        return moneyCashFlowApiService.delectOrderCash(moneyCashFlowExample);
    }

    @Override
    public int instalkMoneyUserCash(MoneyUser moneyUser) {
        return moneyCashFlowApiService.instalkMoneyUserCash(moneyUser);
    }

    @Override
    public List<MoneyUser> selectAllMoneyUserCash(MoneyUserExample moneyUserExample) {
        return  moneyCashFlowApiService.selectAllMoneyUserCash(moneyUserExample);
    }

    @Override
    public MoneyUser getMoneyUserFlow(MoneyUserExample moneyUserExample) {
        return  moneyCashFlowApiService.getMoneyUserFlow(moneyUserExample);
    }

    @Override
    public int updateMoneyUserCash(MoneyUser moneyUser) {
        return  moneyCashFlowApiService.updateMoneyUserCash(moneyUser);
    }

    @Override
    public int delectMoneyCash(MoneyUserExample moneyUserExample) {
        return  moneyCashFlowApiService.delectMoneyCash(moneyUserExample);
    }

    @Override
    public List<UcenterUserCity> selectUserCity(UcenterUserCityExample ucenterUserCityExample) {
        return ucenterApiService.selectUserCity(ucenterUserCityExample);
    }

    @Override
    public int updateCity(UcenterUserCity ucenterUserCity) {
        return ucenterApiService.updateCity(ucenterUserCity);
    }

    @Override
    public UcenterUserCity getUserCity(UcenterUserCityExample ucenterUserCityExample) {
        return ucenterApiService.getUserCity(ucenterUserCityExample);
    }
    @Override
    public int installDesigner(DneedsDesigner dneedsDesigner) {

        return designerApiService.installDesigner(dneedsDesigner);
    }
    @Override
    public List<DneedsDesigner> selectDesigner(DneedsDesignerExample dneedsDesignerExample) {
        return designerApiService.selectDesigner(dneedsDesignerExample);
    }

    @Override
    public DneedsDesigner getDesigner(DneedsDesignerExample dneedsDesignerExample) {


        return designerApiService.getDesigner(dneedsDesignerExample);
    }

    @Override
    public int updateDesigner(DneedsDesigner dneedsDesigner) {
        return designerApiService.updateDesigner(dneedsDesigner);
    }

    @Override
    public int delectDesigner(DneedsDesigner dneedsDesigner) {
        return designerApiService.delectDesigner(dneedsDesigner);
    }
    @Override
    public List<DneedsDesigner> selectByPrimaryDneedsDesigner(int regionNumber, int status, long min0, long max0, long min1, long max1, long min2, long max2, long min3, long max3, long min4, long max4, long min5, long max5, long min6, long max6, long min7, long max7, long min8, long max8) {
        return designerApiService.selectByPrimaryDneedsDesigner(regionNumber,status, min0,max0,min1,max1,min2,max2,min3,max3,min4,max4,min5,max5,min6,max6,min7,max7,min8,max8);

    }
    @Override
    public List<DneedsDemand> selectByPrimaryDneedsDemand(int regionNumber, int status, long min0, long max0, long min1, long max1, long min2, long max2, long min3, long max3, long min4, long max4, long min5, long max5, long min6, long max6, long min7, long max7, long min8, long max8) {
        return designerApiService.selectByPrimaryDneedsDemand(regionNumber,status, min0,max0,min1,max1,min2,max2,min3,max3,min4,max4,min5,max5,min6,max6,min7,max7,min8,max8);

    }
    @Override
    public int installDneedsDesignerCase(DneedsDesignerCase dneedsDesigner) {
        return designerApiService.installDneedsDesignerCase(dneedsDesigner);
    }
    @Override
    public List<DneedsDesignerCase> selectDneedsDesignerCase(DneedsDesignerCaseExample dneedsDesignerCaseExample) {
        return designerApiService.selectDneedsDesignerCase(dneedsDesignerCaseExample);
    }

    @Override
    public DneedsDesignerCase getDneedsDesignerCase(DneedsDesignerCaseExample dneedsDesignerCaseExample) {

        return designerApiService.getDneedsDesignerCase(dneedsDesignerCaseExample);
    }

    @Override
    public int updateDneedsDesignerCase(DneedsDesignerCase dneedsDesigner) {
        return designerApiService.updateDneedsDesignerCase(dneedsDesigner);
    }

    @Override
    public int delectDneedsDesignerCase(DneedsDesignerCase dneedsDesigner) {
        return designerApiService.updateDneedsDesignerCase(dneedsDesigner);
    }
    @Override
    public int installDneedsDemand(DneedsDemand data) {
        return designerApiService.installDneedsDemand(data);
    }
    @Override
    public List<DneedsDemand> selectDneedsDemand(DneedsDemandExample data) {
        return designerApiService.selectDneedsDemand(data);
    }

    @Override
    public DneedsDemand getDneedsDemand(DneedsDemandExample data) {

        return designerApiService.getDneedsDemand(data);
    }

    @Override
    public int updateDneedsDemand(DneedsDemand data) {
        return designerApiService.updateDneedsDemand(data);
    }

    @Override
    public int delectDneedsDemand(DneedsDemand data) {
        return designerApiService.updateDneedsDemand(data);
    }

    @Override
    public int installDneedsBid(DneedsBid data) {
        return designerApiService.installDneedsBid(data);
    }

    @Override
    public List<DneedsBid> selectDneedsBid(DneedsBidExample data) {
        return designerApiService.selectDneedsBid(data);
    }

    @Override
    public DneedsBid getDneedsBid(DneedsBidExample data) {
        return designerApiService.getDneedsBid(data);
    }

    @Override
    public int updateDneedsBid(DneedsBid data) {
        return designerApiService.updateDneedsBid(data);
    }

    @Override
    public int delectDneedsBid(DneedsBid data) {
        return designerApiService.delectDneedsBid(data);
    }

    @Override
    public int installOrderUserDemand(OrderUserDemand data) {
        return orderApiService.installOrderUserDemand(data);
    }

    @Override
    public List<OrderUserDemand> selectOrderUserDemand(OrderUserDemandExample data) {
        return orderApiService.selectOrderUserDemand(data);
    }

    @Override
    public OrderUserDemand getOrderUserDemand(OrderUserDemandExample data) {
        return orderApiService.getOrderUserDemand(data);
    }

    @Override
    public int updateOrderUserDemand(OrderUserDemand data) {
        return orderApiService.updateOrderUserDemand(data);
    }

    @Override
    public int delectOrderUserDemand(OrderUserDemand data) {
        return orderApiService.updateOrderUserDemand(data);
    }
    @Override
    public int installDneedsDemandSjt(DneedsDemandSjt data) {

        return designerApiService.installDneedsDemandSjt(data);
    }

    @Override
    public List<DneedsDemandSjt> selectDneedsDemandSjt(DneedsDemandSjtExample data) {
        return designerApiService.selectDneedsDemandSjt(data);
    }

    @Override
    public DneedsDemandSjt getDneedsDemandSjt(DneedsDemandSjtExample data) {

        return designerApiService.getDneedsDemandSjt(data);
    }

    @Override
    public int updateDneedsDemandSjt(DneedsDemandSjt data) {
        return designerApiService.updateDneedsDemandSjt(data);
    }

    @Override
    public int delectDneedsDemandSjt(DneedsDemandSjt data) {
        return designerApiService.delectDneedsDemandSjt(data);
    }
    @Override
    public int installDneedsDemandWlt(DneedsDemandWlt data) {

        return designerApiService.installDneedsDemandWlt(data);
    }

    @Override
    public List<DneedsDemandWlt> selectDneedsDemandWlt(DneedsDemandWltExample data) {
        return designerApiService.selectDneedsDemandWlt(data);
    }

    @Override
    public DneedsDemandWlt getDneedsDemandWlt(DneedsDemandWltExample data) {

        return designerApiService.getDneedsDemandWlt(data);
    }

    @Override
    public int updateDneedsDemandWlt(DneedsDemandWlt data) {
        return designerApiService.updateDneedsDemandWlt(data);
    }

    @Override
    public int delectDneedsDemandWlt(DneedsDemandWlt data) {
        return designerApiService.delectDneedsDemandWlt(data);
    }

    @Override
    public WorkmanManinfo installWorkmanManinfo(WorkmanManinfo workmanWorkmanManinfo) {
        return workmanApiService.installWorkmanManinfo(workmanWorkmanManinfo);
    }

    @Override
    public List<WorkmanManinfo> selectWorkmanManinfo(WorkmanManinfoExample workmanWorkmanManinfoExample) {
        return workmanApiService.selectWorkmanManinfo(workmanWorkmanManinfoExample);
    }

    @Override
    public WorkmanManinfo getWorkmanManinfo(WorkmanManinfoExample workmanWorkmanManinfoExample) {
        return workmanApiService.getWorkmanManinfo(workmanWorkmanManinfoExample);
    }

    @Override
    public int updateWorkmanManinfo(WorkmanManinfo workmanWorkmanManinfo) {
        return workmanApiService.updateWorkmanManinfo(workmanWorkmanManinfo);
    }

    @Override
    public int delectWorkmanManinfo(WorkmanManinfo workmanWorkmanManinfo) {
        return workmanApiService.delectWorkmanManinfo(workmanWorkmanManinfo);
    }

    @Override
    public List<WorkmanManinfo> selectByPrimaryWorkmanManinfo(int regionNumber, int status, long min0, long max0, long min1, long max1, long min2, long max2, long min3, long max3, long min4, long max4, long min5, long max5, long min6, long max6, long min7, long max7, long min8, long max8) {
        return workmanApiService.selectByPrimaryWorkmanManinfo(regionNumber,status,min0,max0,min1,max1,min2,max2,min3,max3,min4,max4,min5,max5,min6,max6,min7,max7,min8,max8);
    }

    @Override
    public List<WorkmanDemand> selectByPrimaryWorkmanDemand(int regionNumber, int status, long min0, long max0, long min1, long max1, long min2, long max2, long min3, long max3, long min4, long max4, long min5, long max5, long min6, long max6, long min7, long max7, long min8, long max8) {
        return workmanApiService.selectByPrimaryWorkmanDemand(regionNumber,status,min0,max0,min1,max1,min2,max2,min3,max3,min4,max4,min5,max5,min6,max6,min7,max7,min8,max8);
    }

    @Override
    public int installWorkmanManinfoCase(WorkmanManinfoCase workmanWorkmanManinfo) {
        return workmanApiService.installWorkmanManinfoCase(workmanWorkmanManinfo);
    }

    @Override
    public List<WorkmanManinfoCase> selectWorkmanManinfoCase(WorkmanManinfoCaseExample workmanWorkmanManinfoExample) {
        return workmanApiService.selectWorkmanManinfoCase(workmanWorkmanManinfoExample);
    }

    @Override
    public WorkmanManinfoCase getWorkmanManinfoCase(WorkmanManinfoCaseExample workmanWorkmanManinfoExample) {
        return workmanApiService.getWorkmanManinfoCase(workmanWorkmanManinfoExample);
    }

    @Override
    public int updateWorkmanManinfoCase(WorkmanManinfoCase workmanWorkmanManinfo) {
        return workmanApiService.updateWorkmanManinfoCase(workmanWorkmanManinfo);
    }

    @Override
    public int delectWorkmanManinfoCase(WorkmanManinfoCase workmanWorkmanManinfo) {
        return workmanApiService.installWorkmanManinfoCase(workmanWorkmanManinfo);
    }

    @Override
    public int installWorkmanDemand(WorkmanDemand data) {
        return workmanApiService.installWorkmanDemand(data);
    }

    @Override
    public List<WorkmanDemand> selectWorkmanDemand(WorkmanDemandExample data) {
        return workmanApiService.selectWorkmanDemand(data);
    }

    @Override
    public WorkmanDemand getWorkmanDemand(WorkmanDemandExample data) {
        return workmanApiService.getWorkmanDemand(data);
    }

    @Override
    public int updateWorkmanDemand(WorkmanDemand data) {
        return workmanApiService.updateWorkmanDemand(data);
    }

    @Override
    public int delectWorkmanDemand(WorkmanDemand data) {
        return workmanApiService.delectWorkmanDemand(data);
    }

    @Override
    public int installWorkmanBid(WorkmanBid data) {
        return workmanApiService.installWorkmanBid(data);
    }

    @Override
    public List<WorkmanBid> selectWorkmanBid(WorkmanBidExample data) {
        return workmanApiService.selectWorkmanBid(data);
    }

    @Override
    public WorkmanBid getWorkmanBid(WorkmanBidExample data) {
        return workmanApiService.getWorkmanBid(data);
    }

    @Override
    public int updateWorkmanBid(WorkmanBid data) {
        return workmanApiService.updateWorkmanBid(data);
    }

    @Override
    public int delectWorkmanBid(WorkmanBid data) {
        return workmanApiService.delectWorkmanBid(data);
    }

    @Override
    public int installWorkmanDemandSjt(WorkmanDemandSjt data) {
        return workmanApiService.installWorkmanDemandSjt(data);
    }

    @Override
    public List<WorkmanDemandSjt> selectWorkmanDemandSjt(WorkmanDemandSjtExample data) {
        return workmanApiService.selectWorkmanDemandSjt(data);
    }

    @Override
    public WorkmanDemandSjt getWorkmanDemandSjt(WorkmanDemandSjtExample data) {
        return workmanApiService.getWorkmanDemandSjt(data);
    }

    @Override
    public int updateWorkmanDemandSjt(WorkmanDemandSjt data) {
        return workmanApiService.updateWorkmanDemandSjt(data);
    }

    @Override
    public int delectWorkmanDemandSjt(WorkmanDemandSjt data) {
        return workmanApiService.delectWorkmanDemandSjt(data);
    }

    @Override
    public int installWorkmanDemandWlt(WorkmanDemandWlt data) {
        return workmanApiService.installWorkmanDemandWlt(data);
    }

    @Override
    public List<WorkmanDemandWlt> selectWorkmanDemandWlt(WorkmanDemandWltExample data) {
        return workmanApiService.selectWorkmanDemandWlt(data);
    }

    @Override
    public WorkmanDemandWlt getWorkmanDemandWlt(WorkmanDemandWltExample data) {
        return workmanApiService.getWorkmanDemandWlt(data);
    }

    @Override
    public int updateWorkmanDemandWlt(WorkmanDemandWlt data) {
        return workmanApiService.updateWorkmanDemandWlt(data);
    }

    @Override
    public int delectWorkmanDemandWlt(WorkmanDemandWlt data) {
        return workmanApiService.delectWorkmanDemandWlt(data);
    }
    @Override
    public List<ConfigGztype> selectConfigPtanliExample(ConfigGztypeExample example) {
        return configApiService.selectConfigPtanliExample(example);
    }

    @Override
    public ConfigGztype selectConfigGztype(ConfigGztypeExample example) {

        return configApiService.selectConfigGztype(example);
    }

    @Override
    public int installWorkmanManinfoJineng(WorkmanManinfoJineng data) {

        return workmanApiService.installWorkmanManinfoJineng(data);
    }

    @Override
    public List<WorkmanManinfoJineng> selectWorkmanManinfoJineng(WorkmanManinfoJinengExample data) {
        return workmanApiService.selectWorkmanManinfoJineng(data);
    }

    @Override
    public WorkmanManinfoJineng getWorkmanManinfoJineng(WorkmanManinfoJinengExample data) {

        return workmanApiService.getWorkmanManinfoJineng(data);
    }

    @Override
    public int updateWorkmanManinfoJineng(WorkmanManinfoJineng data) {
        return workmanApiService.updateWorkmanManinfoJineng(data);
    }

    @Override
    public int delectWorkmanManinfoJineng(WorkmanManinfoJineng data) {
        return workmanApiService.delectWorkmanManinfoJineng(data);
    }
}


